<app-header [title]="title"></app-header>

<ion-content>
  <div class="mine">

    <div class="passwordset" *ngIf="flagmm">
      <img src="assets/img/s1.png" alt="">
      <p>+86 &nbsp; {{phone}}</p>
    </div>

    <div class="passwordset passyzm" *ngIf="flagmm">
      <div>
        <img src="assets/img/yzm.png" alt="">
        <input type="text" placeholder="请输入验证码" [(ngModel)]="yzm">
      </div>
      <span (click)="getYzm()" *ngIf="flagYzm">获取验证码</span> 
      <span *ngIf="!flagYzm">{{times}}s</span> 
    </div>

    <div class="passwordset">
      <img src="assets/img/s4.png" alt="">
      <input type="password" maxlength="6" placeholder="请输入6位支付密码" [(ngModel)]="passworda">
    </div>

    <div class="passwordset">
      <img src="assets/img/s4.png" alt="">
      <input type="password" maxlength="6" placeholder="请再次确认密码" [(ngModel)]="passwordb">
    </div>
    
    <button (click)="onSure()" class="button buttons">确认</button>
    
  </div>

  <app-lodding [falg]="show"></app-lodding>
</ion-content>
